// 宿舍管理
import httpAPI from '../../utils/http.js'
export default {
  /**
   * 宿舍楼列表
   */
  getDormBuildList (projectId) {
    return httpAPI.get(`system/dorm/${projectId}/buildList`)
  },
  /**
   * 房间编号列表
   */
  getDormNumList(projectId, params) {
    return httpAPI.get(`system/dorm/${projectId}/room/list`, params)
  },
  /**
   * 入住列表
   */
  getDormList(projectId, params) {
    return httpAPI.get(`system/dorm/${projectId}/room/userList`, params)
  },

  /**
   * 空床列表
   */
  getEmptyList(projectId, params) {
    return httpAPI.get(`system/dorm/${projectId}/room/appFreeList`, params)
  },
}
